package oop6;

import oop5.Pet;

/**
 * @author oldliu
 * @since 1.0
 */
public class Tiger extends Pet {
    public Tiger(String name, int health, int love, String sex) {
        super(name, health, love, sex);
    }

    @Override
    public void print() {
        System.out.println("这是一只老虎");
        System.out.println("名字叫" + super.getName() + ",健康值" + super.getHealth() + ",亲密度" + super.getLove() + ",性别" + super.getSex());
    }
}
